[DEPRECATED] Use form field endpoints instead. Update a specific incident custom field selection by id
curl --request PUT \
--url https://api.rootly.com/v1/incident_custom_field_selections/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "incident_custom_field_selections",
"attributes": {
"value": "<string>",
"selected_option_ids": [
123
]
}
}
}'
{
"data": {
"id": "1",
"type": "incident_custom_field_selections",
"attributes": {
"custom_field_id": 172,
"incident_id": "4e68c24c-1a50-43ed-b890-c91b4c5ec97b",
"value": "Test update custom field",
"selected_option_ids": []
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
incident_custom_field_selection updated
The response is of type object
.
curl --request PUT \
--url https://api.rootly.com/v1/incident_custom_field_selections/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "incident_custom_field_selections",
"attributes": {
"value": "<string>",
"selected_option_ids": [
123
]
}
}
}'
{
"data": {
"id": "1",
"type": "incident_custom_field_selections",
"attributes": {
"custom_field_id": 172,
"incident_id": "4e68c24c-1a50-43ed-b890-c91b4c5ec97b",
"value": "Test update custom field",
"selected_option_ids": []
}
}
}